package product.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import product.domain.Brand;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
 * @author panghu
 * @description 针对表【pms_brand(品牌)】的数据库操作Service
 * @createDate 2023-03-04 21:03:08
 */
public interface BrandService extends IService<Brand> {

    /**
     * 品牌分页
     *
     * @param params map参数
     * @return 分页类
     */
    Page<Brand> queryPage(Map<String, Object> params);

    /**
     * 更新品牌并将勇于关联表字段也进行更新
     *
     * @param brand
     * @return
     */
    boolean updateDetail(Brand brand);
}
